/*
	Name:5_3
	Copyright:Take it at will
	Author:Rodney
	Date: 
	Description:
*/
#include<stdio.h>
#include<stdlib.h>

int main()
{
    FILE *fp;
    int i=1;
    char ch;
    if((fp = fopen("5_3.cpp","r")) == NULL) exit(0);
    printf("%d ",i);
    
    do{
        ch = fgetc(fp);
        putchar(ch);
        if(ch == '\n')
            printf("%d ",++i);
    }while(!feof(fp));
    fclose(fp);
}

